-- GENERATED SPELL FOR [Warp Slicer] --


function spell0_21272(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(36991,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21272', 16000, 1)
end

function Sorts_21272(pUnit, Event)
local choix_sorts_21272 = math.random(0, 0)
if choix_sorts_21272 == 0 then
pUnit:RegisterEvent('spell0_21272', 1, 1)
end
end

function mob21272_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21272', math.random(1500, 3000), 1)
end

function mob21272_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21272_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21272_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21272, 1, 'mob21272_Action')
RegisterUnitEvent(21272, 2, 'mob21272_Leave')
RegisterUnitEvent(21272, 3, 'mob21272_Kill')
RegisterUnitEvent(21272, 4, 'mob21272_Die')
